package com.gxa.shop.service.evaluate.Impl;

import com.gxa.shop.bean.dto.EvaluateQueryPage;
import com.gxa.shop.bean.pojo.Evaluate;
import com.gxa.shop.bean.vo.EvaluateOption;
import com.gxa.shop.dao.evaluate.EvaluateDao;
import com.gxa.shop.dao.evaluate.Impl.EvaluateDaoImpl;
import com.gxa.shop.service.evaluate.EvaluateService;

import java.util.List;

/**
 * com.gxa.shop.service.evaluate.Impl
 * User: 刁彦侨
 * Date: 2024/12/24 14:45
 * motto:   逆水行舟不进则退
 * Description:
 * Version: V1.0
 */
public class EvaluateServiceImpl implements EvaluateService {
    EvaluateDao evaluateDao=new EvaluateDaoImpl();
    @Override
    public Evaluate queryById(Integer evaluateId) {
        return null;
    }

    @Override
    public boolean insert(Evaluate evaluate) {
        return false;
    }

    @Override
    public boolean update(Evaluate evaluate) {
        return false;
    }

    @Override
    public boolean deleteById(Integer evaluateId) {
        return evaluateDao.deleteById(evaluateId)>0;
    }

    @Override
    public List<EvaluateOption> findByPage(EvaluateQueryPage evaluateQueryPage) {
        return evaluateDao.findByPage(evaluateQueryPage);
    }

    @Override
    public Long findByTotal(EvaluateQueryPage evaluateQueryPage) {
        return evaluateDao.findByTotal(evaluateQueryPage) ;
    }

    @Override
    public List<EvaluateOption> findAllList() {
        return null;
    }
}
